home *** CD-ROM | disk | FTP | other *** search
Text File | 1986-09-18 | 51.7 KB | 1,609 lines |
- ! ( n addr -- )
- Stores a number at addr
- !csp ( -- )
- Remembers the stack pointer
- " ( -- addr len ) ccc"
- Collects a string from the input stream
- "" ( -- addr ) ccc
- Collects a word from the input stream
- ", ( addr len -- )
- Places a string at the top of the dictionary
- ". ( addr -- )
- Displays a packed string. Equivalent to COUNT TYPE
- "cat ( startstr-addr endstr-addr -- )
- Appends the packed string at startstr-addr to the end of the other one
- "compile ( string -- )
- Compiles or interprets a word
- "copy ( fromaddr toaddr -- )
- Copies a packed string from fromaddr to toaddr
- "create ( str -- )
- Defines a word from a string on the stack
- "eload ( filename -- )
- Interprets a file, looking for it first in an EMACS buffer
- "load ( filename -- )
- Interprets the file whose name is the packed string on the stack
- "move ( addr1 addr2 -- addr2 )
- Moves a packed string from addr1 to addr2
- # ( +l1 -- +l2 )
- Converts a digit in pictured numeric output
- #> ( l -- addr +n )
- Ends pictured numeric output
- #align ( -- n )
- The alignment granularity for the cpu; 2 for 68000
- #columns ( -- n )
- The number of text columns on the screen
- #fbufs ( -- n )
- The number of file buffers
- #fds ( -- n )
- The number of file descriptors available for use by FLOAD
- #line ( -- addr )
- User variable containing the line number on the output device
- #lines ( -- n )
- The number of text lines on the screen
- #out ( -- addr )
- User variable containing the column number on the output device
- #s ( +l -- 0 )
- Converts the rest of the digits in pictured numeric output
- #threads ( -- n )
- The number of threads used by the dictionary hashing scheme
- #tib ( -- addr )
- Size of Terminal Input Buffer
- #times ( -- )
- The number of times to re-interpret command line
- #user ( -- n )
- The first unused USER area offset
- #vocs ( -- n )
- The number of vocabularies that can be in the search order at one time
- ' ( -- acf ) name
- Finds a word in the dictionary
- 'tib ( -- addr )
- Variable containing the address of the terminal input buffer
- 'user# ( -- user# ) name
- Finds the user number associated with the word if there is one
- 'word ( -- addr )
- The address where WORD puts its string
- ( ( -- )
- Begins a comment
- (") ( -- addr len )
- Run-time word compiled by "
- ("s) ( -- addr )
- Run-time word compiled by [""]
- (#lines ( -- n )
- The number of text lines on the screen
- (') ( -- acf )
- Run-time word compiled by [']
- (+loop) ( n -- )
- Run-time word compiled by +LOOP
- (.") ( -- )
- Run-time word compiled by ."
- (.) ( n -- addr len )
- Converts a signed number to a character string
- (.s ( -- )
- Displays the contents of the data stack
- (;code) ( -- )
- Run-time word compiled by ;CODE and DOES>
- (?do) ( end start -- )
- Run-time word compiled by ?DO
- (?leave) ( flag -- )
- Run-time word compiled by ?LEAVE
- (abort ( -- )
- The Default implementation of ABORT
- (abort") ( flag -- )
- Run-time word compiled by ABORT"
- (bye ( -- )
- The Default implementation of BYE
- (cd ( pathname -- )
- Change current directory
- (cold-hook ( -- )
- The Default implementation of COLD-HOOK
- (compile) ( acf -- )
- Compiles a compilation address into the dictionary
- (cr ( -- )
- Outputs a carriage return character
- (create ( -- ) name
- The default implementation of CREATE
- (delete ( filename -- )
- Deletes a file
- (dis ( addr -- )
- Disassembles starting at addr
- (disk-free ( -- bytes-free )
- Returns the number of free bytes on current drive
- (do) ( end start -- )
- Run-time word compiled by DO
- (emit ( char -- )
- Displays a character
- (endcase) ( selector -- )
- Run-time word compiled by ENDCASE
- (endof) ( -- )
- Run-time word compiled by ENDOF
- (exec ( program-filename command-tail -- )
- Executes a TOS program
- (expect ( addr +n -- )
- Simple implementation of EXPECT
- (files ( match-str -- )
- Displays file names matching pattern
- (forget) ( addr -- )
- Reclaims the dictionary space after addr
- (interactive? ( -- flag )
- True if the input stream is interactive
- (interpret ( -- )
- The Default implementation of INTERPRET
- (is ( action-acf deferred-acf -- )
- Installs a new action in a DEFER word
- (is) ( action-acf -- )
- Run-time word compiled by IS
- (l.) ( l -- addr len )
- Converts a signed 32-bit number to a character string
- (leave) ( -- )
- Run-time word compiled by LEAVE
- (lf ( -- )
- Outputs a linefeed character
- (literal? ( str -- str false | literal true )
- The Default implementation of LITERAL?
- (load ( fd -- )
- Loads the file whose file descriptor is fd
- (loop) ( -- )
- Run-time word compiled by LOOP
- (md ( path -- )
- Make a new directory
- (more
- Display file, pausing at end of screen
- (number ( addr -- l )
- The Default implementation of NUMBER
- (of) ( selector test -- [selector] )
- Run-time word compiled by OF
- (patch ( new-number old-number acf -- )
- Substitutes new-number for first instance of old-number after acf
- (pause ( -- )
- The implementation of PAUSE used when multitasking is active
- (pgo ( addr -- )
- Executes a previously-loaded TOS program
- (pload ( program-filename command-tail -- addr )
- Loads a TOS program
- (prompt ( -- )
- The Default implementation of PROMPT
- (quit ( -- )
- The Default implementation of QUIT
- (rd ( path -- )
- Delete a directory
- (rename ( old-name new-name -- )
- Renames a file
- (rstrace ( end-addr start-addr -- )
- Displays words nested on the return stack image between end and start
- (s ( -- ) stack-comment
- Alternate form of stack comment
- (see) ( acf -- )
- Decompiles the word
- (set-relocation-bit ( addr -- addr )
- The Default implementation of SET-RELOCATION-BIT
- (size ( pattern-str -- )
- Shows the sizes of all files matching pattern-str
- (tail
- Display the end of the file, pausing at end of screen
- (type ( addr +n -- )
- The Default implementation of TYPE
- (u.) ( u -- addr len )
- Convert an unsigned number to a character string
- (ul.) ( ul -- addr len )
- Converts an unsigned 32-bit number to a character string
- (warm-hook ( -- )
- The Default implementation of WARM-HOOK
- (where ( -- )
- The Default implementation of WHERE
- (word ( char -- addr )
- The Default implementation of WORD
- * ( n1 n2 -- n3 )
- Multiplies n1 times n2
- */ ( n1 n2 n3 -- n4 )
- n1*n2/n3
- */mod ( n1 n2 n3 -- n4 n5 )
- n4 is remainder, n5 is quotient of n1*n2/n3
- + ( n1 n2 -- n3 )
- Adds n1+n2
- +! ( n addr -- )
- Adds n to the number stored at addr
- +dis ( -- )
- Continues disassembling from the last stopping point
- +fseek ( l.offset fd -- )
- Changes the position within a file
- +load ( -- )
- Interprets from the current EMACS buffer starting at the cursor
- +loop ( n -- )
- Ends DO .. +LOOP construct; adds n to loop index
- +eopen ( -- fd )
- Opens the current EMACS buffer as a file, starting at the cursor position
- +str ( addr1 -- addr2 )
- Finds the end of the packed string at addr1
- , ( n -- )
- Places a number in the dictionary
- ," ( -- ) ccc"
- Places a string at the top of the dictionary
- - ( n1 n2 -- n3 )
- Subtracts n1-n2
- -rot ( n1 n2 n3 --- n3 n1 n2 )
- Shuffles top 3 stack items
- -trailing ( addr +n1 -- addr +n2 )
- Removes trailing spaces
- . ( n -- )
- Displays a number
- ." ( -- ) ccc"
- Compiles a string for later display
- .( ( -- ) ccc)
- Displays a string immediately
- .calls ( acf -- )
- Shows all the words which call the word acf
- .current-word ( ip -- )
- Displays the name of a word given any address within its body
- .d ( n -- )
- Displays n in decimal without changing BASE
- .date ( day month year -- )
- Displays the date from numbers on the stack
- .dir
- Displays the current directory name
- .disk-free
- Shows the number of free bytes on the current drive
- .drive ( -- )
- Displays the name of the current disk drive
- .id ( anf -- )
- Displays the name of a word from its name field address
- .month ( month -- )
- Displays the name of the numbered month
- .name ( acf -- )
- Displays the name of a word from its compilation address
- .now ( -- )
- Displays the current time
- .r ( n +n -- )
- Displays a number in a fixed width field
- .s ( -- )
- Displays the contents of the data stack
- .tab ( string-length -- )
- Advances to the next output field
- .time ( seconds minutes hours -- )
- Displays the time from numbers on the stack
- .today ( -- )
- Displays today's date
- .version ( -- )
- Displays the version number of the Forth system
- .x ( n -- )
- Displays n in hex without changing BASE
- / ( n1 n2 -- n3 )
- Divides n1/n2
- /c ( -- n )
- The number of bytes in a byte; 1
- /c* ( n1 -- n2 )
- Multiplies by the size of a byte
- /fbuf ( -- n )
- The number of bytes in a file buffer
- /fd ( -- n )
- The number of bytes in a file descriptor
- /l ( -- n )
- The number of bytes in a longword; 4
- /l* ( n1 -- n2 )
- Multiply by the size of a longword
- /link ( -- n )
- The number of bytes in a dictionary link; 4
- /mod ( n1 n2 -- n3 n4 )
- n3 is remainder, n4 is quotient of n1/n2
- /n ( -- n )
- The number of bytes in a normal; 4
- /n* ( n1 -- n2 )
- Multiplies by the size of a stack item
- /token ( -- n )
- The number of bytes in a compiled address; 4
- /w ( -- n )
- The number of bytes in a 16-bit word; 2
- /w* ( n1 -- n2 )
- Multiply by the size of a word
- 0< ( n -- flag )
- Is n < 0 ?
- 0<= ( n -- flag )
- True if n is less than or equal to zero
- 0<> ( n -- flag )
- True if n is not equal to zero
- 0= ( n -- flag )
- Is n = 0 ?
- 0> ( n -- flag )
- Is n > 0 ?
- 0>= ( n -- flag )
- True if n is greater than or equal to zero
- 1+ ( n1 -- n2 )
- Add 1
- 1- ( n1 -- n2 )
- Subtracts 1
- 16-bit ( -- )
- Aborts since this isn't a 16-bit system
- 16\ ( -- )
- Ignores rest of line since this isn't a 16-bit system
- 2! ( n1 n2 addr -- )
- Stores 2 numbers at addr
- 2* ( n1 -- n2 )
- Multiplies by 2
- 2+ ( n1 -- n2 )
- Adds 2
- 2- ( n1 -- n2 )
- Subtracts 2
- 2/ ( n1 -- n2 )
- Divides by 2
- 25lines ( -- )
- Displays text in 25 lines x 80 columns format; monochrome only
- 2@ ( addr -- n1 n2 )
- Fetchs 2 numbers from addr
- 2constant ( n1 n2 -- )
- Defines a 2-number constant
- 2drop ( n1 n2 -- )
- Removes 2 numbers from stack
- 2dup ( n1 n2 -- n1 n2 n1 n2 )
- Duplicates 2 numbers
- 2over ( n1 n2 n3 n4 -- n1 n2 n3 n4 n5 n6 )
- Copies 2 numbers
- 2rot ( n1 n2 n3 n4 n5 n6 -- n3 n4 n5 n6 n1 n2 )
- Rotates 3 pairs of numbers
- 2swap ( n1 n2 n3 n4 -- n3 n4 n1 n2 )
- Exchanges 2 pairs of numbers
- 2variable ( -- )
- Defines a variable for 2 numbers
- 32-bit ( -- )
- Does nothing, since this is a 32-bit system
- 32\ ( -- )
- Interprets rest of line since this is a 32-bit system
- 3dup ( a b c -- a b c a b c )
- Duplicates 3 stack items
- 4* ( n1 -- n2 )
- Multiplies by 4; use /N* instead
- 40lines ( -- )
- Displays text in 40 lines x 80 columns format; monochrome only
- 44lines ( -- )
- Displays text in 44 lines x 80 columns format; monochrome only
- 4dup ( a b c d -- a b c d a b c d )
- Duplicates 4 stack items
- 50lines ( -- )
- Displays text in 50 lines x 80 columns format; monochrome only
- 8* ( n1 -- n2 )
- Multiplies by 8
- : ( -- sys ) name
- Starts the compilation of a new colon definition
- ; ( -- )
- Finishes the compilation of a colon definition
- ;code ( -- )
- Begins assembling the run-time action for CREATE ... ;CODE words
- < ( n1 n2 -- flag )
- Is n1 < n2 ?
- <# ( -- )
- Initializes pictured numeric output
- << ( n1 cnt -- n2 )
- Left shifts n1 by count places
- <<a ( n1 cnt -- n2 )
- Arithmetic left shifts n1 by count places
- <= ( n1 n2 -- flag )
- True if n1 is less than or equal to n2
- <> ( n1 n2 -- flag )
- True if n1 is not equal to n2
- <mark ( -- addr )
- Remembers target of backward branch
- <resolve ( addr -- )
- Finishes a backward branch
- <w@ ( addr -- n )
- Fetchs the signed 16-bit word at addr
- = ( n1 n2 -- flag )
- Is n1 = n2 ?
- > ( n1 n2 -- flag )
- Is n1 > n2 ?
- >= ( n1 n2 -- flag )
- True if n1 is greater than or equal to n2
- >> ( n1 cnt -- n2 )
- Rights shift count n1 by places
- >>a ( n1 cnt -- n2 )
- Arithmetic right shifts n1 by count places
- >body ( acf -- apf )
- Finds the parameter field address from the compilation address
- >data ( acf -- addr )
- Finds the data storage address for the word at acf
- >dmy ( packed-date -- day mon yr )
- Converts GEMDOS packed date format to day, month, and year
- >hms ( packed-time -- sec min hr )
- Converts GEMDOS packed time format to second, minute, and hour
- >in ( -- addr )
- Variable containing input stream offset; Implemented in BLOCK.FTH
- >link ( acf -- alf )
- Finds link field address from compilation address
- >mark ( -- addr )
- Remembers the location of forward branch
- >name ( acf -- anf )
- Finds name field address from compilation address
- >r ( n -- )
- Moves a number to the return stack
- >relbit ( addr -- offset rel-table-addr )
- Converts addr to a bit offset and the relocation table address
- >resolve ( addr -- )
- Finishes a forward branch
- >threads ( voc-acf -- addr )
- Finds the threads for a vocabulary
- >type ( addr +n -- )
- Displays characters and stores them at PAD
- >user ( apf -- user-var-addr )
- Finds a user number that is in the parameter field
- >user# ( acf -- user# )
- Finds the user number associated with the word if there is one
- ? ( addr -- )
- Displays the contents of a variable
- ??cr ( -- )
- New line if not already at left side of line
- ?branch ( flag -- )
- High-level conditional branch
- ?comp ( -- )
- Aborts if not compiling
- ?cr ( -- )
- New line if fewer than no space left on this one
- ?csp ( -- )
- Checks stack pointer against value saved by !CSP
- ?dnegate ( d1 f -- d2 )
- Obsolete
- ?do ( w1 w2 -- )
- Begins a ?DO .. LOOP to be executed 0 or more times
- ?dup ( n -- n n )
- Duplicates n if it is non-zero
- ?empty ( stack -- flag )
- True if the user stack is empty
- ?enough ( n -- )
- Aborts if the stack contains fewer than n numbers
- ?exec ( -- )
- Aborts if not interpreting
- ?leave ( flag -- )
- Exits from a DO .. LOOP if flag is nonzero
- ?line ( n -- )
- New line if fewer than n spaces left on this one
- ?lnegate ( l1 f -- l2 )
- Negates l1 if flag is true
- ?missing ( flag -- )
- Aborts if flag is nonzero
- ?negate ( n flag -- -n )
- Negates n if flag is true
- ?pairs ( n1 n2 -- )
- Aborts if n1 is not equal to n2
- ?stack ( -- )
- Aborts if the stack pointer is out of range
- ?to-column ( -- )
- Advances output to indicated column or starts a new line
- @ ( addr -- n )
- Fetches a number from addr
- a:
- Selects drive A
- abort ( -- )
- Aborts current execution and interprets keyboard commands
- abort" ( flag -- ) ccc"
- Conditional abort with message
- abs ( n -- u )
- Absolute value
- alias ( -- ) new-name existing-name
- Creates a new name for an existing word
- align ( -- )
- Makes sure the dictionary pointer is on a machine word boundary
- aligned ( addr1 -- addr2 )
- Adjusts an address to a machine word boundary
- alloc-mem ( nbytes -- addr )
- Allocates nbytes of memory and return its address
- allot ( n -- )
- Allocates space in the dictionary
- also ( -- )
- Extends the search order
- and ( n1 n2 -- n3 )
- Logical and
- another-file? ( -- flag )
- Selects next matching file name; true if there is one.
- another? ( -- [ anf ] more? )
- Selects next word in vocabulary
- append-open ( name -- )
- Opens file for appending
- append-to-file ( -- ) filename
- Temporarily redirects output to the end of a file
- appending filename
- Opens file for appending
- ascii ( -- char ) ccc
- Numerical value of first ascii character of next word
- assembler ( -- )
- Vocabulary containing the assembler
- at ( line column -- )
- Moves the cursor to line,column on the screen
- b:
- Selects drive B
- backspaces ( n -- )
- Outputs n backspaces
- base ( -- addr )
- Variable containing number base
- base-page ( -- addr )
- The address of Forth's base page
- bdos: ( function# -- ) name
- Begins the definition of a word to execute a GEMDOS/BDOS function
- beep ( -- )
- Rings the bell
- begin ( -- )
- Begins a BEGIN .. WHILE .. REPEAT loop
- bell ( -- n )
- The ascii code for the bell character
- between ( n min max -- f )
- True if min <= n <= max
- binary ( -- )
- Sets the number base to two
- bios: ( function# -- ) name
- Begins the definition of a word to execute a BIOS function
- bitclear ( bit# addr -- )
- Clears bit number bit# in the array at addr
- bitset ( bit# addr -- )
- Sets bit number bit# in the array at addr
- bittest ( bit# addr -- flag )
- True if bit number bit# in the array at addr is set
- bl ( -- n )
- The ascii code for the space character; decimal 32
- blank ( addr u -- )
- Sets u bytes of memory to space
- blk ( -- addr )
- Variable containing input block number; Implemented in BLOCK.FTH
- block ( u -- addr )
- Gets mass storage block number u; Implemented in BLOCK.FTH
- blword ( -- addr ) ccc
- Gets a space-delimited string and return it as a packed string
- body> ( apf -- acf )
- Finds compilation address from parameter field address
- bounds ( addr1 len -- addr2 addr1 )
- Converts address and length to endaddr startaddr
- branch ( -- )
- High-level unconditional branch
- bs ( -- n )
- The ascii code for the backspace character
- buffer ( u -- addr )
- Gets mass storage buffer number u; Implemented in BLOCK.FTH
- bye ( -- )
- Exits from Forth
- c! ( n -- addr )
- Stores a byte at addr
- c, ( n -- )
- Places a byte in the dictionary
- c:
- Selects drive C
- c; ( -- )
- Finishs an assembly language word and automatically assembles NEXT
- c@ ( addr -- n )
- Fetches a byte from addr
- ca+ ( addr1 index -- addr2 )
- Increments addr1 by index times the size of a byte
- ca1+ ( addr1 -- addr2 )
- Increments addr1 by the size of a byte
- caller-stack ( -- addr )
- USER variable containing the cold-start value of the stack pointer
- canonical ( addr -- addr )
- Converts a string to lower case
- caps ( -- addr )
- USER variable controlling upper case/lower case sensitivity
- caps-comp ( addr1 addr2 len -- n )
- Compares two byte arrays ignoring case. n is 0 if they are the same
- carret ( -- n )
- The ascii code for the carriage return character
- case ( selector -- selector )
- Begins a CASE ... ENDCASE conditional
- cd directory
- Changes the current directory
- cdis ( acf -- )
- Disassembles the code word at acf
- chdir
- Same as CD
- child-status ( -- addr )
- Status returned by last TOS program executed
- clear ( ??? -- )
- Empties the data stack
- clearstack ( user-stack -- )
- Empties a user stack
- close ( fd -- )
- Closes a file
- close-files ( -- )
- Closes all the open file
- cmove ( addr1 addr2 u -- )
- Copies u bytes from addr1 to addr2
- cmove> ( addr1 addr2 u -- )
- Copies u bytes from addr1 to addr2
- cnot ( c1 -- c2 )
- 8-bit logical inversion
- code ( -- sys ) name
- Starts the definition of an assembly language word
- cold ( -- )
- Initializes the Forth system when it is first started
- cold-hook ( -- )
- Place to install user-defined initialization code
- command-completion ( -- )
- Vocabulary containing helper words for the command completion feature
- command: ( -- ) name program-filename
- Defining word for commands to execute TOS programs
- comp ( addr1 addr2 len -- n )
- Compares two byte arrays. n is 0 if they are the same
- compare ( addr1 addr2 len -- n )
- Compares two byte arrays. n is 0 if they are the same
- compile ( -- )
- Compiles next word at run time
- compile-do-defined ( acf immediate? -- )
- Called to handle a predefined word during compilation
- compile-do-literal ( l -- )
- Called to handle number during compilation
- compile-do-undefined ( str -- )
- Called to handle an undefined word during compilation
- constant ( n -- ) name
- Defines a constant
- context ( -- addr )
- Array of vocabularies to search
- control ( -- char ) ccc
- Control character number of first character of next word
- convert ( +l1 addr1 -- +l2 addr2 )
- Converts a string to a number
- copy source-file destination-file
- Copies source-file to destination-file
- copy1 source-file destination-file
- Interactive file copy for single-drive systems
- count ( addr1 -- addr2 +n )
- Unpacks a packed string
- cr ( -- )
- Terminates a line on the display and goes to the next line
- crash ( -- )
- Initial action for words defined by DEFER
- crash-rstrace ( -- )
- Displays the return stack image saved from the last crash
- create ( -- ) name
- Generic defining word
- creset ( byte-mask addr -- )
- Clears bits within the byte at addr
- crlf ( -- )
- Outputs a carriage return & linefeed; adjusts #LINE & #OUT
- csearch ( c start-addr end-addr -- loc true | false )
- Searches for the byte c between start-addr and end-addr
- cset ( byte-mask addr -- )
- Sets bits within the byte at addr
- cstr ( addr -- cstr-addr )
- Converts packed string to C string
- cstrlen ( cstr-addr -- len )
- Length of a null-terminate C string
- ctoggle ( byte-mask addr -- )
- Inverts the masked bits within the byte at addr
- current ( -- addr )
- Variable containing compilation vocabulary
- cursor-off ( -- )
- Turns off the display cursor
- cursor-on ( -- )
- Turns on the display cursor
- c_conin ( -- scan-code )
- Reads a key from the keyboard and returns the scan code
- d+ ( wd1 wd2 -- wd3 )
- Obsolete
- d- ( wd1 wd2 -- wd3 )
- Obsolete
- d. ( d -- )
- Obsolete
- d.r ( d +n-- )
- Obsolete
- d0< ( d -- flag )
- Obsolete
- d0> ( d -- flag )
- Obsolete
- d:
- Selects drive D
- d< ( d1 d2 -- flag )
- Obsolete
- d< ( d1 d2 -- flag )
- Obsolete
- d> ( d1 d2 -- flag )
- Obsolete
- dark ( -- )
- Use inverse video for future text; usually white-on-black
- decimal ( -- )
- Set number base to 10
- defer ( -- ) name
- Defining word for forward references or execution vectors
- defined ( -- addr 0 ) name
- Finds compilation address of word from the input stream
- definer ( acf -- definer-acf )
- Finds the word which defined the word at acf
- definitions ( -- )
- Sets compilation vocabulary
- del filename
- Deletes a file
- delete filename
- Deletes a file
- delete-char ( -- )
- Deletes the character under the cursor from the screen; doesn't work
- delete-line ( -- )
- Deletes the current line from the screen
- delimiter ( -- addr )
- USER variable containing the actual delimiter found by WORD
- depth ( -- +n )
- How many numbers on stack?
- df
- Show free space on drive; Same as .DISK-FREE
- digit ( char base -- digit true | char false )
- Converts a character to a digit
- dir pattern
- Displays all filenames which match the pattern. default pattern is *.*
- dir-attributes ( -- addr )
- Variable containing attributes for file search
- dis ( -- ) name
- Disassembles the named code word
- disassembler ( -- )
- Vocabulary containing helper words for the disassembler
- dma-buffer ( -- addr )
- Buffer containing the file info found by ANOTHER-FILE?
- dmax ( d1 d2 -- d3 )
- Obsolete
- dmin ( d1 d2 -- d3 )
- Obsolete
- dmy> ( day month year -- packed-date )
- Converts day month year to GEMDOS packed date format
- dnegate ( d1 -- d2 )
- Obsolete
- do ( n1 n2 -- )
- Begins a DO .. LOOP
- do-defined ( cfa immediate? -- ?? )
- Called to handle a predefined word during interpreting or compilation
- do-literal ( l -- ?? )
- Called to handle number during interpreting or compilation
- do-undefined ( str -- )
- Called to handle an undefined word during interpreting or compilation
- dodoesaddr ( -- addr )
- Variable containing the address of the DODOES routine
- does> ( -- addr )
- Starts the run-time clause for defining words
- down ( -- )
- Moves the cursor down one line
- download ( -- ) filename
- Receives binary data from the serial port and stores it into a file
- dpl ( -- addr )
- Variable containing the position of the decimal point in last number input
- drop ( n -- )
- Removes n from the stack
- dst? ( -- flag )
- True if daylight savings time
- du ( addr -- addr+64 )
- Displays 64 bytes of memory starting at addr
- du< ( d1 d2 -- flag )
- Obsolete
- du<= ( d1 d2 -- flag )
- Obsolete
- du> ( d1 d2 -- flag )
- Obsolete
- du>= ( d1 d2 -- flag )
- Obsolete
- dump ( addr len -- )
- Displays len bytes of memory starting at addr
- dup ( n -- n n )
- Duplicates n.
- edit ( -- )
- Enters the EMACS text editor
- editor ( -- )
- Not Implemented
- eload ( -- ) filename
- Interprets a file, looking for it first in an EMACS buffer
- else ( -- )
- Executes the following code if IF failed
- emit ( char -- )
- Displays the character
- emit1 ( char -- )
- The Default implementation of EMIT
- empty-buffers ( -- )
- Unassigns all block buffers; Implemented in BLOCK.FTH
- end-code ( -- )
- Ends an assembly language definition without assembling NEXT
- end-string-array ( -- )
- Finishes the definition of a string array
- endcase ( selector -- )
- Terminates a CASE ... ENDCASE conditional
- endof ( -- )
- Terminates an OF ... ENDOF clause within a CASE ... ENDCASE conditional
- entry ( -- addr )
- USER variable used to implement multitasking
- eof ( -- n )
- Value returned by FGETC upon end of file
- eopen ( filename -- fd )
- Opens an EMACS buffer as though it were a file
- era
- Same as DELETE
- erase ( addr u -- )
- Sets u bytes of memory to 0
- erase-screen ( -- )
- Clears the screen
- errno ( -- addr )
- USER variable containing the last system error code
- error-output ( -- )
- Selects the error output stream
- error? ( system-return-value -- flag )
- True if system-return-value is an error code, and stores it in ERRNO
- eval ( addr len -- )
- Interpret from a string
- even ( n1 -- n2 )
- Adjusts a number to make it even. n2 >= n1
- exec ( -- ) program-filename command-tail
- Executes a TOS program
- execute ( acf -- )
- Executes the word whose compilation address is on the stack
- exit ( -- )
- Returns from the current word
- exit? ( -- flag )
- True if the user wants the output to be terminated
- expect ( addr +n -- )
- Gets a line of input from the keyboard and stores it at addr
- expect-fopen ( -- fd )
- Opens a file which gets its bytes from the keyboard
- false ( -- 0 )
- The value FALSE, which is 0
- fexit ( -- )
- Ignores the rest of the current input file
- fflush ( fd -- )
- Writes out buffered bytes to file
- fgetc ( fd -- byte )
- Reads a byte from a file
- fgets ( addr count fd -- nread )
- Reads a string from a file
- file-exists? ( name -- f )
- True if the named file already exists
- file-pattern ( pattern-string -- )
- Initializes the file search pattern for future calls to ANOTHER-FILE?
- file-protection ( -- addr )
- Variable containing the attributes for newly-created files
- filec! ( byte l.addr fd -- )
- Writes a byte to a file
- filec@ ( l.addr fd -- byte )
- Reads a byte from a file
- files pattern
- Displays all filenames matching the pattern. default pattern is *.*
- fill ( addr u byte -- )
- Sets u bytes of memory to byte
- find ( addr1 -- addr2 n )
- Finds a word in the dictionary
- flip ( w1 -- w2 )
- Swaps the bytes within a 16-bit word
- fload ( -- ) filename
- Interprets a file
- flush ( -- )
- Saves the contents of mass storage buffers; Implemented in BLOCK.FTH
- follow ( threads -- )
- Prepares to scan a vocabulary; see ANOTHER?
- forget ( -- ) name
- Removes word from dictionary
- forth ( -- )
- The main vocabulary
- forth-83 ( -- )
- Asserts the dialect
- fputc ( byte fd -- )
- Writesu a byte to a file
- fputs ( addr count fd -- )
- Writes a string to a file
- free-mem ( addr #bytes -- )
- Frees memory allocated by ALLOC-MEM
- fseek ( l.addr fd -- )
- Sets the position within a file
- fseek-from-end ( l.offset fd -- )
- Sets position relative to the end of a file
- fsetbuffer ( addr len fd -- )
- Replaces the buffer for the file fd with the one at addr len
- fsize ( fd -- l.size )
- Finds the size of a file
- fstr ( cstr-addr -- addr2 )
- Converts a C string to a packed string
- ftell ( fd -- l.addr )
- Finds the current position within a file
- getcword ( addr delim fd -- addr )
- Reads a delimited string from a file
- getrez ( -- resolution )
- Returns the screen resolution; 0 - low 1 - medium 2 - high
- getword ( addr fd -- addr )
- Read a space-delimited string from a file
- help ( -- )
- Displays a brief help message
- here ( -- addr )
- Address of top of dictionary
- hex ( -- )
- Sets the number base to 16
- hidden ( -- )
- Vocabulary containing words used only to implement other words
- hide ( -- )
- Makes the most recent word invisible
- hms> ( sec min hr -- packed-time )
- Converts sec min hr to GEMDOS packed time format
- hold ( char -- )
- Inserts the char in the pictured numeric output string
- i ( -- n )
- Loop index
- if ( flag -- )
- Executes following code if flag is true
- ifd ( -- addr )
- Variable for input file descriptor
- ifdef ( -- ) name
- Continues interpreting if word is defined
- ifend ( -- )
- Terminates an interpreted conditional expression
- ifndef ( -- ) name
- Continues interpreting if word is not defined
- iftrue ( [ flag ] -- )
- Conditional useable while interpreting
- ignoredom ( -- )
- Vocabulary containing conditional compilation words
- immediate ( -- )
- Marks the last word as immediate
- immediate? ( acf -- flag )
- True if word is immediate
- in-file ( -- addr )
- Variable containing the file descriptor of the interpreter input stream
- init-malloc ( -- )
- Initializes the ALLOC-MEM memory allocator
- init-relocation ( -- )
- Initializes the relocation table
- init-user ( -- )
- Initializes the USER area at startup time
- insert-char ( char -- )
- Inserts the character at the cursor position; doesn't work on the Atari
- insert-line ( -- )
- Inserts a new line on the screen at the cursor position
- interactive? ( -- flag )
- True if the input stream is coming from the keyboard
- interpret ( -- )
- Interprets the input stream
- interpret-do-defined ( cfa immediate? -- ?? )
- Called to handle a predefined word during interpreting
- interpret-do-literal ( l -- l )
- Called to handle number during interpreting
- interpret-do-undefined ( str -- )
- Called to handle an undefined word during interpreting
- is ( action-acf -- ) name
- Installs a new action in a DEFER word
- is-now ( seconds minutes hours -- )
- Sets the time
- is-today ( day month year -- )
- Sets the date
- isdst ( -- addr )
- Variable containing true if daylight savings time
- j ( -- n )
- Loop index for next enclosing loop
- k ( -- n )
- Loop index for second enclosing loop
- key ( -- char )
- True if a key has been typed on the keyboard
- keys-forth ( -- )
- Vocabulary containing keystroke definitions for the command line editor
- kill-line ( -- )
- Clears the current line to the right of the cursor
- kill-screen ( -- )
- Clears the screen from the cursor position onward
- l* ( l1 l2 -- l3 )
- Explicit 32-bit multiplication
- l+ ( l1 l2 -- l3 )
- Explicit 32-bit addition
- l+! ( l addr -- )
- Adds l to the 32-bit number at addr
- l, ( l -- )
- Places a longword in the dictionary
- l- ( l1 l2 -- l3 )
- Explicit 32-bit subtraction l1-l2
- l->n ( l -- n )
- Converts a longword to a stack item; noop on this system
- l->w ( l -- w )
- Converts a longword to a word
- l. ( l -- )
- Displays a 32-bit signed number
- l.r ( l +n -- )
- Displays a 32-bit signed number in a fixed-width field
- l0= ( l -- flag )
- True if l is zero
- l2/ ( l1 -- l2 )
- Explicit 32-bit divide-by-2
- l2dup ( l1 l2 -- l1 l2 l1 l2 )
- Duplicates a pair of longwords
- l< ( l1 l2 -- flag )
- True if l1 is less than l2
- l<< ( l1 cnt -- l2 )
- Explicit 32-bit left shift count places
- l<<a ( l1 cnt -- l2 )
- Explicit 32-bit arithmetic shift count places
- l= ( l1 l2 -- flag )
- True if l1 is equal to l2
- l>= ( l1 l2 -- flag )
- True if l1 is less than l2; explicitly 32-bit
- l>> ( l1 cnt -- l2 )
- Explicit 32-bit right shift count places
- l>>a ( l1 cnt -- l2 )
- Explicit 32-bit arithmetic right shift count places
- l>name ( alf -- anf )
- Finds the name field address from link field address
- l>r ( l -- )
- Moves a longword to the return stack
- l@ ( addr -- l )
- Fetchs the 32-bit longword at addr
- la+ ( addr1 index -- addr2 )
- Increments addr1 by index times the size of a longword
- la1+ ( addr1 -- addr2 )
- Increments addr1 by the size of a longword
- labs ( l -- ul )
- Explict 32-bit absolute value
- land ( l1 l2 -- l3 )
- Explicit 32-bit logical and
- last ( -- addr )
- USER variable containing the name field address of the last word created
- lbetween ( l1 lmin lmax -- flag )
- True if lmin <= l1 <= lmax; explicitly 32-bit
- lcc ( char -- lower-case-char )
- Converts char to lower case
- lconstant ( l -- ) name
- Defines a 32-bit constant
- ldrop ( l -- )
- Removes a longword from the stack
- ldup ( l -- l l )
- Duplicates l
- leave ( -- )
- Exit from DO .. LOOP
- left ( -- )
- Moves the cursor left one column
- length ( addr -- addr+2 len )
- Unpacks a string containing a 16-bit length field
- lf ( -- )
- Outputs a linefeed character and adjusts #LINE
- light ( -- )
- Use normal video for future text; usually black-on-white
- linefeed ( -- n )
- The ASCII code for the line feed character
- link ( -- addr )
- USER variable containing the address of the next task
- link! ( link addr -- )
- Stores a dictionary link
- link, ( link -- )
- Places a link in the dictionary
- link> ( alf -- acf )
- Finds compilation address from link field address
- link@ ( lfa -- link )
- Fetches a dictionary link
- list ( u -- )
- Displays the contents of a mass storage block. Implemented in BLOCK.FTH
- literal ( -- n )
- Compiles a number
- literal? ( str -- str false | n true )
- Checks to see if a string is a number during interpreting or compilation
- lliteral ( -- l )
- Compiles an explicit 32-bit number
- lmargin ( -- addr )
- Variable containg left margin for output formatting
- lmax ( l1 l2 -- l3 )
- Explict 32-bit maximum
- lmin ( l1 l2 -- l3 )
- Explict 32-bit minimun
- lnegate ( l1 -- l2 )
- Explicit 32-bit negation
- lnot ( l1 -- l2 )
- Explicit 32-bit logical inversion
- lnover ( l1 n -- l1 n l2 )
- Copies a longword over a normal
- lnswap ( l n -- n l )
- Swaps a longword and a normal
- load ( u -- )
- Interprets a mass storage block; Implemented in BLOCK.FTH
- lobyte ( n -- c )
- Masks off high bits, leaving the least-significant byte
- long? ( -- flag )
- True if the number that was just input contained a decimal point
- loop ( -- )
- End of DO .. LOOP
- lor ( l1 l2 -- l3 )
- Explicit 32-bit logical or
- lose ( -- )
- Compiled in place of an undefined word; aborts
- low-res ( -- )
- Sets the resolution on a color monitor to low - 320x200
- lower ( addr len -- )
- Converts a string to lower case
- lr> ( -- l )
- Moves a longword from the return stack
- ls pattern
- Display all filenames which match the pattern. The default pattern is *.*
- lswap ( l1 l2 -- l2 l1 )
- Swap 2 longwords
- lu< ( ul1 ul2 -- flag )
- True if ul1 is less than ul2
- lvariable ( -- ) name
- Define a 32-bit variable
- lwithin ( l1 lmin lmax -- flag )
- True if lmin <= l1 < lmax; explicitly 32-bit
- lwsplit ( l -- w.low w.high )
- Split a longword into two words
- m/mod ( l.dividend n.divisor -- n.rem n.quot )
- Signed 32/normal remainder/quotient
- main-task ( -- addr )
- The address of the USER area for the initial task
- make ( name -- flag )
- Create a file. Flag is true if the operation succeeded.
- many ( -- )
- Re-interpret this command line until a key is typed
- max ( n1 n2 -- n3 )
- n3 is maximum of n1 and n2
- max-image ( -- size )
- The size in bytes of the maximum dictionary that may be relocated
- md directory
- Makes a new directory
- medium-res ( -- )
- Sets the resolution on a color monitor to medium - 640x200
- memfree ( -- #bytes )
- The number of bytes available for temporary storage at PAD
- memtop ( -- addr )
- Variable containing the address of the top of memory used by Forth
- min ( n1 n2 -- n3 )
- n3 is minimum of n1 and n2
- mkdir directory
- Makes a new directory
- mload ( -- )
- Interprets a file coming over the serial port
- mod ( n1 n2 -- n3 )
- Remainder of n1/n2
- modify ( -- n )
- The number signifying to OPEN that the file is to be read and written
- more filename
- Displays the contents of the file, pausing after each page
- move ( addr1 addr2 u -- )
- Copies u bytes from addr1 to addr2
- mu/mod ( ul n -- n.rem ul.quot )
- Divides longword by normal giving normal remainder and long quotient
- multi ( -- )
- Turns on multitasking
- mv old-filename new-filename
- Changes the name of old-filename to new-filename
- n->a ( n -- addr )
- Converts a stack item to an address; noop on this system
- n->l ( u -- l )
- Converts a stack item to a longword; noop on this system
- n->w ( n -- w )
- Converts a stack item to a word
- n>link ( anf -- alf )
- Finds link field from name field
- na+ ( addr1 index -- addr2 )
- Increments addr1 by index times the size of a stack item
- na1+ ( addr1 -- addr2 )
- Increments addr1 by the size of a stack item
- name> ( anf -- acf )
- Finds compilation address from name field
- needs ( -- ) name filename
- Loads file if name is not already defined
- negate ( n1 -- n2 )
- Changes the sign of n1
- new-file ( filename -- )
- Creates a new file and opens it for writing, descriptor in OFD
- newexpect ( addr +n -- )
- The Default implementation of EXPECT
- newline ( -- char )
- The character which terminates a line
- next-free-mem ( -- addr )
- Variable containing the address of the end of free memory
- nip ( n1 n2 -- n2 )
- Discards the second element from the data stack
- nlover ( n1 l -- n1 l n2 )
- Copies a normal over a longword
- nlswap ( n l -- l n )
- Swaps a normal and a longword
- noop ( -- )
- Does nothing
- not ( n1 -- n2 )
- One's complement
- now ( -- seconds minutes hours )
- The current time of day
- npatch ( new-number old-number -- ) word-to-patch
- Substitutes new-number for old-number in word-to-patch
- nullstring ( -- addr )
- A packed string containing no bytes
- number ( addr -- l )
- Converts a character string to a 32-bit number or aborts
- number? ( addr -- l flag )
- Converts a character string to a 32-bit number
- nuser ( -- ) name
- Defines and allocates space for a 32-bit user variable
- octal ( -- )
- Sets the number base to eight
- of ( selector test-value -- )
- Begins an OF ... ENDOF clause within a CASE ... ENDCASE conditional
- ofd ( -- addr )
- Variable for output file descriptor
- off ( addr -- )
- Stores false at addr
- ok ( -- )
- Does nothing
- on ( addr -- )
- Stores true at addr
- only ( -- )
- Sets the minimum search order
- open ( filename mode -- fd )
- Opens a file
- or ( n1 n2 -- n3 )
- Logical or
- order ( -- )
- Displays the vocabulary search order
- origin ( -- addr )
- The address of the start of the Forth system
- otherwise ( -- )
- Conditional useable while interpreting
- over ( n1 n2 -- n1 n2 n3 )
- n3 is a copy of n1.
- over-vocabulary ( action-acf voc-acf -- )
- Scans a vocabulary executing action-acf for each word
- pack ( addr1 len addr2 -- addr2 )
- Makes a packed string from addr1 len, placing it at addr2
- pad ( -- addr )
- The address of a scratch area used to temporary storage
- patch ( -- ) replacement-word replaced-word word-to-patch
- Substitute replacement for replaced in word-to-patch
- pause ( -- )
- Gives other tasks a chance to run
- perform ( addr-of-acf -- )
- Executes the word contained in a variable
- pick ( n1 -- n2 )
- Copies n-th number
- place ( addr1 len addr2 -- )
- Makes a packed string from addr1 len, placing it at addr2
- pload ( -- addr ) program-filename command-tail
- Loads a TOS program
- pop ( user-stack -- n )
- Pops a number off a user stack
- previous ( -- )
- Removes the CONTEXT vocabulary from the search order
- printable? ( char -- flag )
- True if character is printable
- prompt ( -- )
- Displays a prompt on the screen
- ps-size ( -- n )
- The maximum size of the data stack in bytes
- push ( n user-stack -- )
- Pushes a number on a user stack
- pwd
- Displays the name of the current directory
- quit ( -- )
- Interprets keyboard commands
- r> ( -- n )
- Moves a number from the return stack to the data stack
- r@ ( -- n )
- Copies the top of the return stack to the data stack
- rd directory
- Deletes a directory
- read ( -- n )
- The number signifying to OPEN that the file is to be opened for reading
- read-binary ( start-addr -- count )
- Receives binary data from the serial port storing it at start-addr
- read-open ( filename -- )
- Opens the file for reading, storing its file descriptor in IFD
- reading filename
- Opens the file for reading, storing its file descriptor in IFD
- recursive ( -- )
- Allows a word being defined to call itself recursively
- relocation-map ( -- addr )
- The address of the relocation table
- rename old-filename new-filename
- Changes the name of old-filename to new-filename
- repeat ( -- )
- Ends a BEGIN .. WHILE .. REPEAT loop
- restore-output ( -- )
- Goes back to the old output stream after ERROR-OUTPUT
- reveal ( -- )
- Makes the most recent word visible
- right ( -- )
- Moves the cursor right one column
- rm filename
- Deletes a file
- rmargin ( -- addr )
- Variable containg right margin for output formatting
- rmdir directory
- Deletes a directory
- roll ( n -- )
- Rotates n numbers
- root ( -- )
- The vocabulary selected by ONLY
- rot ( n1 n2 n3 --- n2 n3 n1 )
- Rotates 3 numbers
- rp! ( addr -- )
- Changes the return stack pointer
- rp0 ( -- addr )
- A variable containing the address of the bottom of the return stack
- rp@ ( -- addr )
- The address of the top of the return stack
- rstrace ( -- )
- Displays the words nested on the return stack
- s->d ( n -- d )
- Not Implemented
- s->l ( n -- l )
- Converts a signed stack item to a longword; noop on this system
- s. ( n -- )
- Displays n as a signed number
- save-buffers ( -- )
- Saves the contents of mass storage buffers; Implemented in BLOCK.FTH
- save-forth ( filename -- )
- Use SAVE-REL instead
- save-rel ( filename -- )
- Saves a relocatable image of the Forth dictionary in a TOS file
- save-string ( string1 -- string2 )
- Moves a string somewhere else
- saved-ip ( -- addr )
- User variable containing the interpreter pointer for an inactive task
- saved-rp ( -- addr )
- User variable containing the return stack pointer for an inactive task
- saved-sp ( -- addr )
- USER variable containing the stack pointer for an inactive task
- scr ( -- addr )
- Variable with the number of last block LISTED; Implemented in BLOCK.FTH
- sdepth ( user-stack -- depth )
- The number of items on a user stack
- seal ( -- )
- Restricts the search order
- search ( n start end -- loc true | false )
- Searches for n between start-addr and end-addr
- see ( -- ) name
- Decompiles the named word
- setexc ( addr vec# -- oldaddr )
- Sets the handler for exception vec# to addr, returning the old handler
- set-drive ( drive# -- )
- Sets the current disk drive; 0 - A: 1 - B: 2 - C:
- set-relocation-bit ( addr -- addr )
- Sets the relocation bit corresponding to the address addr
- showcrash ( -- )
- Displays the machine state saved from the last crash
- sift ( string -- )
- Finds all words which contain string as part of their name
- sifting ( -- ) ccc
- Finds all words which contain ccc as part of their name
- sign ( n -- )
- Sets sign of pictured output
- sindex ( addr1 len1 addr2 len2 -- n )
- Finds the offset within string 1 where string 2 first occurs
- single ( -- )
- Turns off multitasking
- size ( -- ) pattern
- Shows the sizes of the files matching pattern; default pattern is *.*
- skipcword ( char fd -- )
- Skips past the next occurrence of char in the file fd
- skipstr ( -- addr len )
- Used to implement words with in-line strings
- sp! ( addr -- )
- Changes the data stack pointer
- sp0 ( -- ADDR )
- Variable containing the address of the bottom of the Data Stack
- sp@ ( -- addr )
- The address of the top of the data stack
- space ( -- )
- Displays a space character
- spaces ( +n -- )
- Displays n spaces
- span ( -- addr )
- Variable containing the number of characters read by EXPECT
- splice-relocation ( filename -- )
- Used before SAVE-REL to get the relocation info from the TOS file
- ssp ( -- addr )
- Variable containing the previous value of the Supervisor Stack Pointer
- stack: ( #bytes -- ) name
- Defines a user stack with #bytes of storage space
- state ( -- addr )
- Variable that is nonzero in compile state
- status ( -- )
- User-settable action to be performed before prompting for input
- string-array ( -- ) name
- Begins the definition of a string array
- string-fopen ( addr len -- fd )
- Opens a file for a memory string
- string-load ( addr len -- )
- Interprets from a string
- subroutine: ( addr -- ) name
- Begins the definition of a word to execute a subroutine call to addr
- substring? ( str1 str2 -- flag )
- True if str1 is a substring of str2
- supervisor-state ( -- )
- Puts the processor in supervisor state
- swap ( n1 n2 -- n2 n1 )
- Exchanges the top 2 stack entries.
- sys-(key? ( -- flag )
- The Default implementation of KEY?
- sys-emit ( char -- )
- Displays the character
- sys-key ( -- char )
- The Default implementation of KEY
- system ( -- )
- Vocabulary containing GEMDOS interface words
- ta1+ ( addr1 -- addr2 )
- Increments addr1 by the size of a compiled address
- tabstops ( -- addr )
- Variable containing distance between output fields
- tail filename
- Displays the last 1000 bytes of the file
- td ( -- ? )
- Interprets the next word or number in DECIMAL mode
- th ( -- ? )
- Interprets the next word or number in HEX mode
- then ( -- )
- Terminates an IF ... ELSE ... THEN
- tib ( -- addr )
- The address of the Text Input Buffer
- tib-fd ( -- fd )
- File descriptor for the interactive input stream
- time-zone ( -- minutes-west-of-GMT )
- The local time zone
- time-zone-minutes ( -- addr )
- Variable containing the number of minutes west of GMT; see TIME-ZONE
- times ( n -- )
- Re-interprets the command line n times
- title ( -- )
- Displays the name and version of the Forth system
- to-column ( column -- )
- Advances the output to the indicated column
- to-file ( -- ) filename
- Temporarily redirects output to a file
- today ( -- day month year )
- Today's date
- toggle ( addr byte-mask -- )
- Inverts the masked bits within the byte at addr
- token! ( addr2 addr1 -- )
- Stores a relocatable address at addr1
- token, ( addr -- )
- Places a relocatable address in the dictionary
- token@ ( addr1 -- addr2 )
- Fetches a relocatable address
- top! ( n user-stack -- )
- Replaces the top number on a user stack
- top@ ( user-stack -- n )
- Gets the top number from a user stack without popping it
- trap: ( function# trap# -- ) name
- Begins the definition of a word to execute a trap call
- true ( -- -1 )
- The value TRUE , which is -1
- tsearch ( addr start end -- loc true | false )
- Searches for address addr between start-addr and end-addr
- tuck ( n1 n2 -- n2 n1 n2 )
- Copies the top of the stack underneath the second item
- tuser ( -- ) name
- Defines and allocate space for a User variable to contain an address
- type ( addr +n -- )
- Displays n characters
- u* ( u1 u2 -- u3 )
- Unsigned u1*u2
- u. ( u -- )
- Displays an unsigned number
- u.r ( u +n -- )
- Prints an unsigned number in fixed width field
- u2/ ( u1 -- u2 )
- Logical right shift
- u< ( u1 u2 -- flag )
- Unsigned version of < .
- u<= ( u1 n2 -- flag )
- True if u1 is less than or equal to u2
- u> ( u1 n2 -- flag )
- True if u1 is greater than u2
- u>= ( u1 n2 -- flag )
- True if u1 is greater than or equal to u2
- ualloc ( size -- new-user-number )
- Allocates space in the user area
- ul* ( ul1 ul2 -- lproduct )
- Unsigned 32x32 -> 32 multiply
- ul. ( ul -- )
- Displays a 32-bit unsigned number
- ul.r ( ul +n -- )
- Displays a 32-bit unsigned number in a fixed-width field
- um* ( uw1 uw2 -- ul )
- 16 bits times 16 bits unsigned multiply
- um/mod ( ul.dividend un.divisor -- un.rem un.quot )
- Unsigned 32/normal remainder/quotient
- umax ( u1 u2 -- u3 )
- Unsigned maximum
- umin ( u1 u2 -- u3 )
- Unsigned minimum
- unload-emacs ( -- )
- Removes EMACS from memory
- unnest ( -- )
- Returns from a colon definition
- until ( flag -- )
- Continues executing a BEGIN .. UNTIL loop until flag is true
- up ( -- )
- Moves the cursor up one line
- up! ( addr -- )
- Changes the starting address of the user area
- up0 ( -- addr )
- User variable containing the starting address of the USER area
- up@ ( -- addr )
- The starting address of the aser area
- upc ( char -- upper-case-char )
- Converts char to upper case
- update ( -- )
- Marks a mass storage buffer as modified; Implemented in BLOCK.FTH
- upper ( addr len -- )
- Converts a string to upper case
- user ( offset -- ) name
- Defines a variable at the given offset in the User area
- user-size ( -- n )
- The size in bytes of the USER area.
- user-state ( -- )
- Puts the processor into user state
- variable ( -- ) name
- Defines a variable
- vec! ( addr vector# -- )
- Installs an interrupt/exception handler
- vfind ( str voc-ptr -- cfa 1 )
- Searches for a word in a single vocabulary
- voc-link ( -- addr )
- USER variable containing the address of the last vocabulary created
- vocabulary ( -- ) name
- Defines a new vocabulary
- vocs ( -- )
- Displays the names of all vocabularies in the system
- w! ( w addr -- )
- Stores a 16-bit word at addr
- w, ( w -- )
- Places a word in the dictionary
- w->l ( uw -- l )
- Converts an unsigned 16-bit number to a 32-bit number
- w@ ( addr -- w )
- Fetches the unsigned word at addr
- wa+ ( addr1 index -- addr2 )
- Increments addr1 by index times the size of a word
- wa1+ ( addr1 -- addr2 )
- Increments addr1 by the size of a word
- warm ( -- )
- Restarts Forth after a hardware exception
- warm-hook ( -- )
- Place to install a user-defined handler for hardware exceptions
- warning ( -- addr )
- USER variable controlling "isn't Unique" messages
- wconstant ( w -- ) name
- Defines a 16-bit constant
- wflip ( l1 -- l2 )
- Swaps the 16-bit halves of a 32-bit longword
- whatis ( -- ) name
- Displays a brief description of the named word
- where ( -- )
- Prints a message telling where in the input stream you are
- while ( flag -- )
- Continues execution of BEGIN .. WHILE .. REPEAT loop while flag is true
- why ( -- )
- Displays more information about the last system error
- within ( n min max -- f )
- True if n <= x < max
- wljoin ( w.low w.high -- l )
- Joins two words to form a longword
- word ( char -- addr )
- Collects a char-delimited string from the input stream
- word-bounds ( acf -- apf addr )
- Finds the start and end of a colon definition's body
- words ( -- )
- Displays the words in the context vocabulary
- write ( -- n )
- The number signifying to OPEN that the file is to be written
- write-open ( name -- )
- Opens the file for writing, storing its file descriptor in OFD
- writing filename
- Creates a new file and open it for writing, descriptor in OFD
- wsearch ( w start end -- loc true | false )
- Searches for 16-bit word w between start-addr and end-addr
- wvariable ( -- ) name
- Begins the definition of a word to execute an extended BIOS function
- xload ( -- ) filename
- Loads the file and displays a message to that effect
- xor ( n1 n2 -- n3 )
- Exclusive or
- zapaes ( -- )
- Gets rid of the GEM AES; useless if TOS is in ROM
- [ ( -- )
- Begins interpreting
- [""] ( -- ) ccc
- Collects a word from the input stream and compiles it as a string
- ['] ( -- addr )
- Compiles the compilation address of a word
- [assembler] ( -- )
- Immediately select the assembler vocabulary
- [compile] ( -- )
- Compiles the next word even if it's immediate
- \ ( -- ) rest-of-line
- Skips the rest of the line
- \c ( -- ) rest-of-line
- Skips the rest of the line
- \dtc ( -- )
- Does nothing
- \itc ( -- )
- Ignores the rest of the line
- \needs ( -- ) name rest-of-line
- Interprets the rest of the line if needed-word is not already defined
- \t16 ( -- )
- Ignores the rest of the line
- \t32 ( -- )
- Does nothing
- ] ( -- )
- Begins compilation
- { ( -- ) argument-<list}
- Begin the argument specification for BDOS:, etc
-